home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Microsoft Visual Basic .NET
/
Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin
/
22 xml and adonet
/
xmldemo
/
dsbiblio.xsd
< prev
next >
Wrap
Extensible Markup Language
|
2001-12-23
|
3KB
|
53 lines
<?xml version="1.0" standalone="yes" ?>
<xs:schema id="dsBiblio" targetNamespace="http://www.tempuri.org/dsBiblio.xsd" xmlns:mstns="http://www.tempuri.org/dsBiblio.xsd" xmlns="http://www.tempuri.org/dsBiblio.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="dsBiblio" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Publishers">
<xs:complexType>
<xs:sequence>
<xs:element name="PubID" msdata:AutoIncrement="true" type="xs:int" />
<xs:element name="Name" type="xs:string" minOccurs="0" />
<xs:element name="Company_x0020_Name" type="xs:string" minOccurs="0" />
<xs:element name="Address" type="xs:string" minOccurs="0" />
<xs:element name="City" type="xs:string" minOccurs="0" />
<xs:element name="Zip" type="xs:string" minOccurs="0" />
<xs:element name="State" type="xs:string" minOccurs="0" />
<xs:element name="Telephone" type="xs:string" minOccurs="0" />
<xs:element name="Fax" type="xs:string" minOccurs="0" />
<xs:element name="Comments" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Titles">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:string" minOccurs="0" />
<xs:element name="ISBN" type="xs:string" />
<xs:element name="Year_x0020_Published" type="xs:short" minOccurs="0" />
<xs:element name="PubID" type="xs:int" minOccurs="0" />
<xs:element name="Subject" type="xs:string" minOccurs="0" />
<xs:element name="Comments" type="xs:string" minOccurs="0" />
<xs:element name="Description" type="xs:string" minOccurs="0" />
<xs:element name="Notes" type="xs:string" minOccurs="0" />
<xs:element name="Price" type="xs:float" minOccurs="0" />
<xs:element name="DiscountedPrice" type="xs:float" minOccurs="0" msdata:Expression="Price * .8" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Publishers" />
<xs:field xpath="mstns:PubID" />
</xs:unique>
<xs:unique name="Titles_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Titles" />
<xs:field xpath="mstns:ISBN" />
</xs:unique>
<xs:keyref name="PublishersTitles" refer="mstns:Constraint1" msdata:UpdateRule="Cascade">
<xs:selector xpath=".//mstns:Titles" />
<xs:field xpath="mstns:PubID" />
</xs:keyref>
</xs:element>
</xs:schema>